#include "messagedeliver.h"

MessageDeliver::MessageDeliver(QObject *reciver)
	: QObject(reciver)
{

}

MessageDeliver::~MessageDeliver()
{

}

void MessageDeliver::parallelWorkCompleted()
{
	emit txParallelWorkCompleted();
}

void MessageDeliver::updateProgressBar(const int i, const QString &text)
{
	emit txUpdateProgressBar(i, text);
}

void MessageDeliver::updateCompletedItem(QStandardItem *item) 
{
	emit txUpdateCompletedItem(item);
}

void MessageDeliver::updateFialedItem(const QString strFail)
{
	emit txUpdateFailedItem(strFail);
}

void MessageDeliver::updateResultLabel(const QString &string)
{
	emit txUpdateResultLabel(string);
}

void MessageDeliver::searchReplaceCompleted(QString string) 
{
	emit txSearchReplaceCompleted(string);
}

void MessageDeliver::otherOperationCompleted()
{
	emit txOtherOperationCompleted();
}

void MessageDeliver::popUpWarning(const QString &title, const QString &content)
{
	emit txPopUpWarning(title, content);
}

void MessageDeliver::popUpQuestion(const QString &title, const QString &content) 
{
	emit txPopUpQuestion(title, content);
}

void MessageDeliver::popUpReplace(QStandardItemModel *model) 
{
	emit txPopUpReplace(model);
}

void MessageDeliver::initialProgressRange(const int maximum)
{
	emit txInitialProgressRange(maximum);
}

void MessageDeliver::getReply(const int replyVal)
{
	emit txReplyValue(replyVal);
}

